package com.shop.zkmall.app.domain.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 统一商品营销活动表（免费/砍价/竞拍/闪购）
 * </p>
 *
 * @author ${author}
 * @since 2025-11-27
 */
@Data
public class CereShopMarketingReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "商品图片")
    private String productImage;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品分类id")
    private Long productCategoryId;

    @ApiModelProperty(value = "商品介绍")
    private String productIntroduce;

    @ApiModelProperty(value = "活动类型：0免费 1砍价 2竞拍 3闪购")
    private Integer activityType;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "活动价格（闪购价 / 直购价 等）")
    private BigDecimal activityPrice;

    @ApiModelProperty(value = "砍价目标价（砍到这个价）")
    private BigDecimal bargainTargetPrice;

    @ApiModelProperty(value = "竞拍起拍价")
    private BigDecimal startPrice;

    @ApiModelProperty(value = "每次加价")
    private BigDecimal addPrice;

    @ApiModelProperty(value = "一口价（可选）")
    private BigDecimal buyoutPrice;

    @ApiModelProperty(value = "一口价数量")
    private BigDecimal buyoutStock;

    @ApiModelProperty(value = "0卖家包邮 1买家自费")
    private Integer freightType;

}
